package com.snec.oauth2.dao;

import com.snec.oauth2.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.snec.oauth2.oauth.model.UserInfoDO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-06-20
 */
public interface UserMapper extends BaseMapper<User> {

    UserInfoDO getUserInfoByUserName(String username);

    UserInfoDO getUserInfoByPhone(String phone);
}
